import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
import { constantRoutes } from '@/router/routes'

export const useRoutesStore = defineStore(
  'routes',
  () => {
    const routeList = constantRoutes

    return {
      routeList
    }
  },
  {
    persist: true
  }
)
